<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        //对象解构  const常量
        const person = {
            name: 'zyw',
            age: 22,
            language: ['java','js','css']
        }

        /*const name = person.name
        const age = person.age
        const language = person.language*/

        const {name,age,language} = person
        console.log(name,age,language)

        const {name:a,age:b,language:c} = person
        console.log(a,b,c)
    </script>
</head>
<body>

</body>
</html>